package com.db.entity;

import lombok.Data;
import org.springframework.data.domain.Range;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.util.Date;

/**
 * @author dzh
 * @since 2024/12/30
 */
@Data
@Entity
@Table(name = "book")
public class BookJpa {
    @Id
    private Long id;
    private Long pid;
    private String line;
    private String title;
    private Integer age;
    private LocalDate publishDay;
    private Date createTime;
}
